import React,{Component} from 'react';
import {Prompt} from 'react-router';
import {connect} from 'react-redux'
import mapDispatchToProps from '../actions/mapDispatchToProps'
import mapStateToProps from '../value/mapStateToProps'

class  About extends Component{
	render(){
		const {count}=this.props    
		return (
			<div>About
			   <Prompt message="确定要离开吗？？"/>
			   <p>count:{count}</p>
			</div>
		)
	}
}

export default connect(mapStateToProps,mapDispatchToProps)(About)
